projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cacda80
)
Improve warning
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 30 Oct 2014 17:41:13 +0000
(13:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 30 Oct 2014 17:41:13 +0000
(13:41 -0400)
Mention the file that we're failing to load. That makes it obvious
what is wrong.
demos/widget-factory/widget-factory.c
patch
|
blob
|
history
diff --git
a/demos/widget-factory/widget-factory.c
b/demos/widget-factory/widget-factory.c
index a9a36e66be12fb5ef7bf30b3695651276f860987..d6bdf93b9b61fee0b8a3bd97656ba488a0eb4f24 100644
(file)
--- a/
demos/widget-factory/widget-factory.c
+++ b/
demos/widget-factory/widget-factory.c
@@
-761,7
+761,7
@@
background_loaded_cb (GObject *source,
pixbuf = gdk_pixbuf_new_from_stream_finish (res, &error);
if (error)
{
- g_warning ("
%s"
, error->message);
+ g_warning ("
Error loading '%s': %s", bd->filename
, error->message);
g_error_free (error);
return;
}